﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<PagedList<CourseSystem.Core.Entities.TeacherInfo>>" %>
<%@ Import Namespace="Webdiyer.WebControls.Mvc" %>
<table width="475" height="180" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td align="center" valign="top" background="<%=ResolveUrl("~/Content/images/k_07.jpg") %>">
            <table width="469"  class="" cellpadding="0" border="1" cellspacing="0" bordercolor="#CCCCCC">
                <tr bordercolor="#CCCCCC">
                    <td height="18" bgcolor="#D1E5F0">
                        <div align="center">
                            <div style="float: left;width:440px" align="center"><span class="style5">任课老师</span></div><div style="float: right">
                                <%=Html.ActionLink("更多","Teacher","Guide") %></div>
                        </div>
                    </td>
                </tr>
                <tr bordercolor="#CCCCCC">
                    <td>
                        <% foreach (var item in Model)
                           { %>
                        <div align="center" class="imgRoll">
                            <a href="<%=ResolveUrl("~/Guide/Teacher/"+item.Id) %>">
                                <img src="<%=ResolveUrl("~/"+item.Img) %>" width="150px" height="150px" /></a>
                            <div>
                                <%=item.Name+" "+item.Titles %></div>
                        </div>
                        <% } %>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td height="4" style=" background-repeat:no-repeat" background="<%=ResolveUrl("~/Content/images/k_11.jpg") %>">
        </td>
    </tr>
</table>
